var express = require('express');
var tagController = require('../controllers/tagController');
var router = express.Router();

/* GET tags listing. */
router.post('/adminapi/tags', tagController.add);

router.get('/adminapi/tags', tagController.getList);

router.put('/adminapi/tags/:id', tagController.update);

router.delete('/adminapi/tags', tagController.delete);

module.exports = router;